package com.lianniu.web.demand.service;

import com.lianniu.web.base.BaseResult;
import com.lianniu.web.demand.vo.DemandSupplyVo;

/**
 * Created by Administrator on 2017-05-15.
 */
public interface DemandSupplyService {

    BaseResult insertSelective(DemandSupplyVo record);

    BaseResult selectByPrimaryKey(Long id);

    BaseResult updateByPrimaryKeySelective(DemandSupplyVo record);

    /**
     * 我供货的
     * @param userId
     * @param pageNum
     * @return
     */
    BaseResult selectByUserId(String userId, int pageNum);

}
